'use strict';

function hybrid_operation(collection) {
  collection=collection.map(function(x){
    return x*3+2;
  });
  collection=collection.reduce(function(item1,item2){
    return item1+item2;
  });
  console.log(collection);
  return collection;
}

module.exports = hybrid_operation;
hybrid_operation([1,5,7,11,35,67]);

